package cn.com.system.service.impl;

import cn.com.system.mapper.ClueDao;
import cn.com.system.pojo.Clue;
import cn.com.system.service.ClueService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * (Clue)表服务实现类
 *
 * @author makejava
 * @since 2021-04-06 20:06:41
 */
@Service("clueService")
public class ClueServiceImpl implements ClueService {
    @Resource
    private ClueDao clueDao;

    @Override
    public int updateClue1(Clue clue) {
        return clueDao.updateClue1(clue);
    }

    @Override
    public int updateClue2(Clue clue) {
        return  clueDao.updateClue2(clue);
    }

    @Override
    public int updateClue3(Clue clue) {
        return  clueDao.updateClue3(clue);
    }

    @Override
    public int deleteClueById(Integer c_id) {
        return clueDao.deleteClueById(c_id);
    }

    @Override
    public List<Clue> queryAll(Clue clue) {
        return clueDao.queryAll(clue);
    }

    @Override
    public int insertClue(Clue clue) {
        return clueDao.insertClue(clue);
    }

    @Override
    public int addClue1(Clue clue) {
        return clueDao.addClue1(clue);
    }
}
